extends Spatial


var _lights=[]
var _baseAngles=[]
func _ready():
	_lights=get_children()
	for i in _lights.size():
		_baseAngles.append(_lights[i].spot_angle)


func _process(delta):
	for i in _lights.size():
		var light=_lights[i]
		var base=_baseAngles[i]
		light.spot_angle=base*SoundEnergy.scale1
		pass
	pass
